<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title><%=sails.config.application.title%></title>
<link rel="stylesheet" href="<%=sails.config.application.baseUrl%>/plugins/themify-icons/themify-icons.css">
<link rel="stylesheet" href="<%=sails.config.application.baseUrl%>/plugins/ng-admin/ng-admin.min.css">
<link rel="stylesheet" href="<%=sails.config.application.baseUrl%>/styles/main.css" rel="stylesheet">
<style type="text/css">
.page-header h1{
	font-size: 2em;
}
</style>
</head>
<body ng-app="wechat-admin" ng-controller="WechatCtrl">
<div ui-view></div>

<script src="<%=sails.config.application.baseUrl%>/plugins/jquery/jquery.min.js"></script>
<script src="<%=sails.config.application.baseUrl%>/plugins/bootstrap/js/bootstrap.min.js"></script>
<!-- <script src="<%=sails.config.application.baseUrl%>/plugins/requirejs/require.js"></script> -->
<script src="<%=sails.config.application.baseUrl%>/plugins/ng-admin/ng-admin.min.js"></script>
<script src="<%=sails.config.application.baseUrl%>/js/ng-admin-config.js"></script>
<script src="<%=sails.config.application.baseUrl%>/js/sails-ng-admin.js"></script>


<script type="text/javascript">
var FORM_STATES = <%-JSON.stringify(sails.config.application.formState)%>;
var adminConfig = NgAdminConfig();
var sailsNgAdmin = new SailsNgAdmin({
	baseUrl : '<%=sails.config.application.baseUrl%>',
	adminPrefix : '<%=sails.config.application.adminPrefix%>',
	restPrefix : '<%=sails.config.blueprints.restPrefix%>',
	title : '<%=sails.config.application.title%>',
	config : adminConfig,
	noteType : <%- sails.config.application.sysform.note%>
});
</script>
</body>
</html>